<?php
include('includes/header.php');
include('menu.php');
if ($_GET['id']){
    $id=$_GET['id'];
    $con=OpenDB();
    if (mysql_query("DELETE FROM protocolo WHERE numero_protocolo='$id'")==FALSE)
        echo 'ERROR';
    else{
        PostSQL("COMMIT");
        header("location: adminProtocolo.php");
        CloseDB($con);
    }
}
?>
